package pw.canyingisme.plugin.event;

import org.bukkit.entity.LivingEntity;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;

public class onAction extends Event {
    private static final HandlerList handlers = new HandlerList();
    private LivingEntity EntityPlayer;
    private String EventAction;
    public onAction(LivingEntity Player, String Action){
        EntityPlayer=Player;
        EventAction=Action;
    }
    public LivingEntity getPlayerEntity(){
        return EntityPlayer;
    }
    public String getAction(){
        return EventAction;
    }
    public HandlerList getHandlers() {
        return handlers;
    }
    public static HandlerList getHandlerList() {
        return handlers;
    }
}
